package DesignPatern.A08_调停者模式.A002_调停者模式解决;

/**
 * @Author: Du
 * @Date: 2021/7/23 9:14
 */
public class Purchase extends AbstractColleague
{
    public Purchase(AbstractMediator mediator)
    {
        super(mediator);
    }
    
    public void buyComputer(int number)
    {
        super.mediator.execute("purchase", number);
    }
    
    public void refuseIBM()
    {
        System.out.println("不再采购IBM");
    }
    
}
